{include file="admin/top.php" subject='moving'}
{include file="moving/top.php" subject='moving'}
<div id="content">
  <form method="post">
    <table width="100%" border="0" cellpadding="5" cellspacing="0" id="editor">
      <tr>
        <td width="100" class="title">仓库: *</td>
        <td width="240" class="content"><select name="shopid_from"><option></option>{shops}<option value="{$shops.id}" {if $shops.id==$smarty.post.shopid_from}selected{/if} >{$shops.title}</option>{/shops}</select>
        => <select name="shopid_to"><option></option>{shops}<option value="{$shops.id}" {if $shops.id==$smarty.post.shopid_to}selected{/if} >{$shops.title}</option>{/shops}</select>
        </td>
        <td width="804" class="content">
        {if $errors.empty_shopid_from}<span class="warning">原仓库不能为空</span>
        {elseif $errors.empty_shopid_to}<span class="warning">目标仓库不能为空</span>
        {elseif $errors.same_shopid}<span class="warning">原仓库和目标仓库不能相同</span>
        {else}&nbsp;{/if}
        </td>
      </tr>
      <tr>
        <td class="title">名称: *</td>
        <td class="content">
        	<input name="title" type="text" id="title" value="{$smarty.post.title}" size="30" />
        </td>
        <td class="content">
        {if $errors.empty_title}<span class="warning">标题不能为空</span>
        {/if}
        </td>
      </tr>
      <tr class="noline">
        <td class="title">备注:</td>
        <td colspan="2" class="content"><textarea name="admin_remark" cols="80" rows="5"  id="memo">{$smarty.post.admin_remark}</textarea></td>
      </tr>
    </table>
    
    <div class="fr mt10">
    <input type="submit" value="提交" class="btn" />
    <a href="#" class="btn" onclick="history.back();">返回</a> 
    <input name="action" type="hidden" id="action" value="create" />
    </div>
  </form>
</div>
{include file="admin/bottom.php"}
</body>
</html>
